package service;

import module.Customers;
import module.EmployeeCustomer;
import module.HousesCustomers;
import module.Phones;
import dao.ABSBasicDAO;
import dao.impl.CustomersDAOImpl;
import dao.impl.EmployeeCustomerDAOImpl;
import dao.impl.HousesCustomersDAOImpl;
import dao.impl.PhonesDAOImpl;

public class customersService  extends basicService<Customers>{
	/**
	 * 客户DAO
	 */
	protected  ABSBasicDAO<Customers> customerDAO = null;
	/**
	 * 客户电话DAO
	 */
	protected ABSBasicDAO<Phones> phonesDAO = null ;
	/**
	 * 客户房屋DAO
	 */
	protected ABSBasicDAO<HousesCustomers> housesCustomersDAO = null;
	/**
	 * 客户与员工DAO
	 */
	protected ABSBasicDAO<EmployeeCustomer> employeeCustomerDAO = null;
	/**
	 * 构造函数
	 */
	public customersService(){
		super();
		customerDAO = new CustomersDAOImpl(sqlMapClient);
		phonesDAO = new PhonesDAOImpl(sqlMapClient);
		housesCustomersDAO = new HousesCustomersDAOImpl(sqlMapClient);
		employeeCustomerDAO = new EmployeeCustomerDAOImpl(sqlMapClient);
	}
}
